﻿namespace Joy.Erp.BasicArchives.ItemMasters
{
    public class ItemMasterConsts
    {
        /// <summary>
        /// 料品类型字段是否必填
        /// </summary>
        public static bool ItemCategoryIdRequired { get; set; } = true;

        /// <summary>
        /// 料品名称字段是否必填
        /// </summary>
        public static bool NameRequired { get; set; } = true;

        /// <summary>
        /// 料品名称字段长度
        /// </summary>
        public static int NameMaxLength { get; set; } = 200;

        /// <summary>
        /// 规格型号字段长度
        /// </summary>
        public static int SpecMaxLength { get; set; } = 200;

        /// <summary>
        /// 计量单位组字段是否必填
        /// </summary>
        public static bool UnitGroupIdRequired { get; set; } = true;
    }
}
